package com.bootdo.lvyou_specialty.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-14 09:58:33
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class LvyouSpecialtyOrderPart extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;
	
	//商品的id
		@HapiFeild("商品的id")
	private Long goodsId;
	
	//商品的名称
		@HapiFeild("商品的名称")
	private String goodsName;
	
	//商品的个数
		@HapiFeild("商品的个数")
	private Integer goodsNumber;
	
	//这一单的总价钱
		@HapiFeild("这一单的总价钱")
	private Double goodsFee;
	
	//总订单的订单号
		@HapiFeild("总订单的订单号")
	private String goodsOrderNo;
	
	//商品的单个价格
		@HapiFeild("商品的单个价格")
	private Double goodsPrice;
	
	//这一单的减免额
		@HapiFeild("这一单的减免额")
	private Double minusFee;
	
	//商品的封面图
		@HapiFeild("商品的封面图")
	private String goodsImages;
	
	//商家的id
		@HapiFeild("商家的id")
	private Long merchantId;
	
	//商家的名称
		@HapiFeild("商家的名称")
	private String merchantName;
	
	//商家的流水号
		@HapiFeild("商家的流水号")
	private String merchantOrderNo;
	
	//商品的会员价
		@HapiFeild("商品的会员价")
	private Double goodsHprice;

	// 这一单的实际钱数
	@HapiFeild("这一单的实际钱数")
	private Double goodsRealFee;

    public LvyouSpecialtyOrderPart(){
    
    	this.createTime = new Date();
    }


	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：商品的id
	 */
	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}
	/**
	 * 获取：商品的id
	 */
	public Long getGoodsId() {
		return goodsId;
	}
	/**
	 * 设置：商品的名称
	 */
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	/**
	 * 获取：商品的名称
	 */
	public String getGoodsName() {
		return goodsName;
	}
	/**
	 * 设置：商品的个数
	 */
	public void setGoodsNumber(Integer goodsNumber) {
		this.goodsNumber = goodsNumber;
	}
	/**
	 * 获取：商品的个数
	 */
	public Integer getGoodsNumber() {
		return goodsNumber;
	}
	/**
	 * 设置：这一单的总价钱
	 */
	public void setGoodsFee(Double goodsFee) {
		this.goodsFee = goodsFee;
	}
	/**
	 * 获取：这一单的总价钱
	 */
	public Double getGoodsFee() {
		return goodsFee;
	}
	/**
	 * 设置：总订单的订单号
	 */
	public void setGoodsOrderNo(String goodsOrderNo) {
		this.goodsOrderNo = goodsOrderNo;
	}
	/**
	 * 获取：总订单的订单号
	 */
	public String getGoodsOrderNo() {
		return goodsOrderNo;
	}
	/**
	 * 设置：商品的单个价格
	 */
	public void setGoodsPrice(Double goodsPrice) {
		this.goodsPrice = goodsPrice;
	}
	/**
	 * 获取：商品的单个价格
	 */
	public Double getGoodsPrice() {
		return goodsPrice;
	}
	/**
	 * 设置：这一单的减免额
	 */
	public void setMinusFee(Double minusFee) {
		this.minusFee = minusFee;
	}
	/**
	 * 获取：这一单的减免额
	 */
	public Double getMinusFee() {
		return minusFee;
	}
	/**
	 * 设置：商品的封面图
	 */
	public void setGoodsImages(String goodsImages) {
		this.goodsImages = goodsImages;
	}
	/**
	 * 获取：商品的封面图
	 */
	public String getGoodsImages() {
		return goodsImages;
	}
	/**
	 * 设置：商家的id
	 */
	public void setMerchantId(Long merchantId) {
		this.merchantId = merchantId;
	}
	/**
	 * 获取：商家的id
	 */
	public Long getMerchantId() {
		return merchantId;
	}
	/**
	 * 设置：商家的名称
	 */
	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}
	/**
	 * 获取：商家的名称
	 */
	public String getMerchantName() {
		return merchantName;
	}
	/**
	 * 设置：商家的流水号
	 */
	public void setMerchantOrderNo(String merchantOrderNo) {
		this.merchantOrderNo = merchantOrderNo;
	}
	/**
	 * 获取：商家的流水号
	 */
	public String getMerchantOrderNo() {
		return merchantOrderNo;
	}
	/**
	 * 设置：商品的会员价
	 */
	public void setGoodsHprice(Double goodsHprice) {
		this.goodsHprice = goodsHprice;
	}
	/**
	 * 获取：商品的会员价
	 */
	public Double getGoodsHprice() {
		return goodsHprice;
	}


	public Double getGoodsRealFee() {
		return goodsRealFee;
	}

	public void setGoodsRealFee(Double goodsRealFee) {
		this.goodsRealFee = goodsRealFee;
	}

	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
